package com.module.service.impl;

import com.module.dao.PermissionMapper;
import com.module.dao.RoleMapper;
import com.module.model.Permission;
import com.module.model.Role;
import com.module.service.PermissionService;
import com.module.service.RoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author: Mr.Zhong
 * @create: 2018-07-03 20:27
 * @description:
 **/
@Service("permissionService")
public class PermissionServiceImpl implements PermissionService {

    @Autowired
    public PermissionMapper permissionMapper;


    @Override
    public List<Permission> selectById(Integer id) {
        return permissionMapper.selectById(id);
    }
}
